import { ObjectType } from 'typings/interfaces'

const getters = {
  orgTree: (state: ObjectType) => state.global.orgTree,
  userOrgTree: (state: ObjectType) => state.global.userOrgTree,
  lockPermsList: (state: ObjectType) => state.global.lockPermsList,
  pageSize: (state: ObjectType) => state.global.pageSize,
  pageSizes: (state: ObjectType) => state.global.pageSizes,
  basePath: (state: ObjectType) => state.global.basePath,
  menuActiveIndex: (state: ObjectType) => state.global.menuActiveIndex
}
export default getters
